package com.ruoyi.kindergarten.service;

import java.util.List;
import com.ruoyi.kindergarten.domain.FoodPurchase;

/**
 * 食材采购记录模块Service接口
 * 
 * @author ruoyi
 * @date 2025-10-26
 */
public interface IFoodPurchaseService 
{
    /**
     * 查询食材采购记录模块
     * 
     * @param id 食材采购记录模块主键
     * @return 食材采购记录模块
     */
    public FoodPurchase selectFoodPurchaseById(Long id);

    /**
     * 查询食材采购记录模块列表
     * 
     * @param foodPurchase 食材采购记录模块
     * @return 食材采购记录模块集合
     */
    public List<FoodPurchase> selectFoodPurchaseList(FoodPurchase foodPurchase);

    /**
     * 新增食材采购记录模块
     * 
     * @param foodPurchase 食材采购记录模块
     * @return 结果
     */
    public int insertFoodPurchase(FoodPurchase foodPurchase);

    /**
     * 修改食材采购记录模块
     * 
     * @param foodPurchase 食材采购记录模块
     * @return 结果
     */
    public int updateFoodPurchase(FoodPurchase foodPurchase);

    /**
     * 批量删除食材采购记录模块
     * 
     * @param ids 需要删除的食材采购记录模块主键集合
     * @return 结果
     */
    public int deleteFoodPurchaseByIds(Long[] ids);

    /**
     * 删除食材采购记录模块信息
     * 
     * @param id 食材采购记录模块主键
     * @return 结果
     */
    public int deleteFoodPurchaseById(Long id);

    List<Integer> count();
}
